<?php if (!defined('THINK_PATH')) exit();?>﻿<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>个人博客</title>
<script type="text/javascript" src="/api/Public/js/loader.js">
	
</script>
<script type="text/javascript">

	App.loadCss([
		'/api/Public/css/flex.css'
		,'/api/Public/css/index.css'
		,'/api/Public/css/theme.css'
		//,'/api/Public/css/pre.css'
		//,'//at.alicdn.com/t/font_u6qcem3ktbhp8pvi.css'
		]);
</script>
<link rel="stylesheet" type="text/css" href="/Public/plugin/ueditor/third-party/SyntaxHighlighter/shCoreDefault.css">
<script type="text/javascript" src="/Public/plugin/ueditor/third-party/SyntaxHighlighter/shCore.js"></script>
</head>
<body>
<header class="header">
    <div class="bg" style="">
    	<div class="site-title">
    		梦想盒子
    	</div>
    </div>

	<nav class="nav-theme">
		<ul class="nav nav-box" flex="main:left" style="position:relative">
		<!-- <li class="ll" style="position: absolute;
    width: 100px;
    height: 2px;
    background: Red;
    bottom: 0;
    left: 0;">
			
		</li> -->
		<li class="item  <?php echo CONTROLLER_NAME=="Index"?'cur':'';?>"><a href="<?php echo U('Index/Index');?>">首页</a></li>

		<li class="item <?php echo CONTROLLER_NAME=="Category"?'cur':'';?>"><a href="<?php echo U('Category/Index');?>">分类</a></li>

		<li class="item <?php echo CONTROLLER_NAME=="Article"?'cur':'';?>"><a href="<?php echo U('Article/Index');?>">文章</a></li>

		<li class="item <?php echo CONTROLLER_NAME=="About"?'cur':'';?>"><a href="<?php echo U('About/Index');?>">关于</a></li>
		</ul>
	</nav>
</header>
<section flex="main:left" class="content">
	<section class="content-left">
		<div class="sidebar-block">
			<h3 class="list-title">我的随笔</h3>
			
<?php echo W('Article/essays');?>
			
		</div>
		<div class="sidebar-block">
			<h3 class="list-title">我的分类</h3>
			
				<?php echo W('Article/category',array('0','t1'));?>
			
		</div>
	</section>
	<section class="content-right">
	

<section class="">
<div class="title" flex="main:justify cross:center">
<span>首页</span>
</div>
	<div class="" flex="main:center">
	<div class="detail">
		每天学一些新东西可以让一个理性之人走上不凡之路。而作为开发人员，不断的学习新东西则是我们工作的一部分, 不论这些新东西是不是来源于积极的学习经验。
	</div>
	

	<div>
</section>	</section>
</section>
<footer class="footer">
	Copyright ©2016 lsdfly
</footer>
<script id="_main" type="text/javascript" 
data-index="/api/Public/Js/Module/<?php echo CONTROLLER_NAME;?>.js"
src="/api/Public/js/libs/require/require.js"
data-main="/api/Public/js/main.js"

></script>

</body>

</html>